﻿Public Class formsondage
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub rblSondage_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles rblSondage.SelectedIndexChanged
        literalPostBackRb.Text = rblSondage.SelectedItem.Text & "? whoaa!!"
        literalSubmitSondageMessage.Text = ""
    End Sub

    Private Sub iSubmitSondage_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles iSubmitSondage.Click
        If rblSondage.SelectedItem.Value <= 3 Then
            literalSubmitSondageMessage.Text = "Merci pour votre confiance"
        Else
            literalSubmitSondageMessage.Text = "Comment ça vous n'aimez pas notre magasin ?"
        End If
    End Sub

End Class